perm filename FSCALE.DON[UP,DOC]2 blob
sn#338969 filedate 1978-03-09 generic text, type T, neo UTF8
FSCALE scales fonts. It asks for input and output font file names (with
the usual default extension/directory), then tells you the height of the
input font and asks for the desired height of the output font. (The
default is no change.) FSCALE then asks for the desired change in
aspect ratio (if any). Answering 2 (for instance) will generate a font
which is twice as "fat" as the original, i.e. whose width/height ratio
is doubled. The change in aspect may be any positive real value. If a
non-positive (or null) value is given, a default of 1.0 is assumed.
If neither the height nor the aspect ratio is being changed, FSCALE
still optimises the format of the file to save any space it can. (E.g.,
it trims empty columns off the right using character width and raster
width to get the same effect.) This process is much faster than an
actual scaling operation. Also, if neither the height nor aspect ratio
is changed, FSCALE offers to "thicken" the font by "or"ing each
character with a shifted copy of itself. This thickening can be done in
either or both dimensions.
If the height or aspect ratio IS being changed, FSCALE asks for a
threshhold, which must be between 0 and 1. The default is .5, and
typically it should be between .45 and .55. FSCALE works by mapping
each point of the scaled font onto the original font, and computing the
weighted average of the four surrounding points. If this weighted
average is above the threshhold, the point is made dark in the new font.